package com.lsu.app.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


/**
 * @author hjj
 * @date 2023/11/11 19:35
 */
@Data
@ApiModel(value="InfoData对象", description="教师界面可视化")
public class InfoData {
    @ApiModelProperty("总学生")
    private Integer allStudents;
    @ApiModelProperty("总评论数")
    private Integer allComments;
    @ApiModelProperty("总课程数")
    private Integer allCourseNum;
    @ApiModelProperty("总点击量")
    private Integer allCourseClick;
    @ApiModelProperty("五星数量")
    private Integer fiveStar;
    @ApiModelProperty("四星数量")
    private Integer fourStar;
    @ApiModelProperty("三星数量")
    private Integer threeStar;
    @ApiModelProperty("二星数量")
    private Integer twoStar;
    @ApiModelProperty("一星数量")
    private Integer oneStar;
    @ApiModelProperty("平均评分")
    private String valScore;
    @ApiModelProperty("点击量增长比")
    private String riseRate;

    public InfoData() {
    }

    public InfoData(Integer allStudents, Integer allComments, Integer allCourseNum, Integer allCourseClick, Integer fiveStar, Integer fourStar, Integer threeStar, Integer twoStar, Integer oneStar, String valScore, String riseRate) {
        this.allStudents = allStudents;
        this.allComments = allComments;
        this.allCourseNum = allCourseNum;
        this.allCourseClick = allCourseClick;
        this.fiveStar = fiveStar;
        this.fourStar = fourStar;
        this.threeStar = threeStar;
        this.twoStar = twoStar;
        this.oneStar = oneStar;
        this.valScore = valScore;
        this.riseRate = riseRate;
    }
}
